<div class="">
    <div class="meta-collapse-outter">
        <meta-collapse closeCallback="afterOff()">
            <div class="banner">
                <uib-carousel interval="myInterval" no-wrap="noWrapSlides" class="carousel"
                              template-url="views/common/carouselWithoutArrow.html">
                    <uib-slide class="winner-bg">

                        <div class="col-xs-offset-6">
                            <div class="winner-btn">
                                <div>
                                    <button class="btn meta-banner-white-reverse" ui-sref="meta.talent.edit"
                                            meta-btn-statistic="partner:talent:list:top:banner:editTalent"
                                            ng-if="USER.talentOpened">
                                        编辑我的科研主页
                                    </button>
                                    <button class="btn meta-banner-white-reverse" ng-if="!USER.talentOpened"
                                            meta-btn-statistic="partner:talent:list:top:banner:createTalent"
                                            ng-click="openTalent()">
                                        开通我的科研主页
                                    </button>
                                </div>
                                <div>
                                    <a class="btn meta-banner-white" href="http://about.maikeji.cn/2015/12/17/272/"
                                       meta-btn-statistic="partner:talent:list:top:banner:successCase"
                                       target="_blank">
                                        查看成功案例
                                    </a>
                                </div>
                            </div>
                        </div>
                    </uib-slide>
                    <uib-slide class="bingo-bg">
                        <div class="col-xs-12 bingo-word">
                            <h1>技术大数据, 一搜就知道</h1>

                            <div>
                                <p>
                                    海量数据:全球应用技术信息
                                </p>

                                <p>
                                    精准搜索:细分领域专业人才
                                </p>
                            </div>
                            <!--<div class="bingo-word"></div>-->
                            <!--<div class="col-xs-12">-->
                            <!--<div class="bingo-btn">-->
                            <!--<form class="row" name="form" ng-submit="goSearch(form)">-->
                            <!--<div class="form-group-sm col-xs-offset-0 col-xs-10"-->
                            <!--style="padding-left:22px;padding-right:0">-->
                            <!--<input name="keywords" class="form-control" type="text" placeholder="关键字搜索"-->
                            <!--ng-model="keywords"/>-->
                            <!--</div>-->
                            <!--<div class="button-group col-xs-2" style="padding-left:0">-->
                            <!--<button type="submit" class="btn btn-primary"-->
                            <!--style="height: 30px;line-height:10px;">-->
                            <!--搜索-->
                            <!--</button>-->
                            <!--</div>-->
                            <!--</form>-->
                            <!--</div>-->
                            <!--</div>-->
                        </div>
                    </uib-slide>
                </uib-carousel>
            </div>
        </meta-collapse>
    </div>
</div>

<section class="container-fluid search-panel">
    <div class="search-panel-inner">
        <form name="form" class="search-bar-container" ng-submit="search(form)">
            <p class="search-bar-title">最合适的<span style="color:#1F86ED">技术|人才</span>，一搜就知道
                <br/>
                <small>海量技术资源助您实现高效对接</small>
            </p>

            <div style="position: relative;">
                <input name="searchText" type="text" name="word" class="form-control search-bar-text" placeholder="关键字"
                       ng-model="searchText">
                <button type="submit" class="search-bar-submit"><i class="glyphicon glyphicon-search"></i></button>
            </div>
        </form>
    </div>
</section>
<section class="list-container">
    <div class="container-fluid talent-list-tabs hidden-xs">
        <uib-tabset>
            <uib-tab ng-repeat="tab in tabs" heading="{{tab.name}}" active="tab.active" disable="tab.disabled"
                     ng-click="tab.select()">
            </uib-tab>
        </uib-tabset>
        <a class="btn meta-banner-white-reverse" ui-sref="meta.utils.redirect({module:'myTalent'})"
           meta-btn-statistic="partner:talent:list:tab:banner:openTalent"
           ng-if="USER.talentOpened" target="_blank">
            查看我的科研主页
        </a>
        <button class="btn meta-banner-white-reverse" ng-if="!USER.talentOpened"
                meta-btn-statistic="partner:talent:list:tab:banner:createTalent"
                ng-click="openTalent()">
            开通我的科研主页
        </button>
    </div>
    <ul class="container-fluid talent-list" cg-busy="waitingPromise">
        <li class="item-container col-xs-12 col-sm-4 col-lg-3" ng-repeat="item in talents">
            <div class="item">
                <a ui-sref="meta.talent.detail.project({talentId:item.id})" target="_blank"
                   class="col-xs-4 col-sm-12 item-inner">
                    <div class="item-img"
                         ng-style="{'background-image':'url('+(item.user.avatar||item.target.user.avatar ||'images/common/header.png')+')'}"></div>
                </a>

                <div class="col-xs-8 col-sm-12">
                    <a ui-sref="meta.talent.detail.project({talentId:item.id})" class="item-caption"
                       target="_blank">
                        <p class="item-caption-title" ng-bind="item.user.name||item.target.user.name || '佚名'"></p>

                        <p ng-bind="(item.organization||item.target.organization||'暂无所属机构')+' | '+(item.title||item.target.title||'暂无职称')"></p>

                        <p class="label-container hidden-xs">
                            <span class="label" ng-repeat="keyword in item.keywords" ng-bind="keyword"></span>
                            <span class="label" ng-repeat="keyword in item.target.keywords" ng-bind="keyword"></span>
                        </p>
                    </a>
                    <a href="javascript:void(0)"
                       class="btn btn-xs btn-default btn-favorite col-sm-4 col-md-offset-1 hidden-xs hidden-sm hidden-md"
                       ng-click="Favorite(item)" ng-bind="item.isFavorited?'已收藏':'收&nbsp;&nbsp;藏'">收&nbsp;&nbsp;藏</a>
                    <a href="javascript:void(0)" class="btn-link btn-xs btn-favorite col-sm-4 col-sm-offset-1 hidden-lg"
                       ng-click="Favorite(item)" ng-bind="item.isFavorited?'已收藏':'收藏'">收藏</a>
                    <!--<a class="btn btn-xs btn-default btn-page col-sm-5 col-lg-offset-1" ui-sref="meta.talent.detail.project({user_id:item.id, page:1})" target="_blank">Ta的主页</a>-->
                    <a class="btn btn-xs btn-default btn-page" ui-sref="meta.talent.detail.project({talentId:item.id})"
                       target="_blank">Ta的主页</a>
                </div>
            </div>
        </li>
        <h4 ng-if="total<1" class="nullHint">很抱歉，您未收藏过人才。</h4>
    </ul>

    <uib-pagination boundary-links="true" total-items="total" ng-model="page"
                    max-size="10" boundary-link-numbers="true"
                    class="pagination-sm"
                    template-url="views/common/pagination.html" previous-text="&lsaquo;"
                    items-per-page="numberPerPage"
                    next-text="&rsaquo;" first-text="&laquo;" last-text="&raquo;"
                    ng-if="total>numberPerPage"></uib-pagination>
    <div class="clearfix"></div>
</section>
